package com.example.demo.service;

import com.example.demo.domain.BudgetActual;
import com.example.demo.domain.BudgetType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BudgetActualService {

    Map<String, Object> getAllCost(String type);

    Map<String, Object> getCostSum(String type);

    BudgetActual getActualMonth(int id);

    List<BudgetActual> getResult(String type);

    List<BudgetActual> getDataList(String type);

    int save(List<BudgetActual> budgetActual);

    int saveActual(List<BudgetActual> budgetActual);

    Map<String, Object> getTarget(String type);

    int delTarget(@Param("id") int id);
}
